//
//  HistoryFieldKeys.swift
//  hello
//
//  Created by 赵康 on 2024/11/11.
//

import Fluent

extension History {
	enum FieldKeys {
		static var id: FieldKey { "id" }
		static var user: FieldKey { "user" }
		static var audio: FieldKey { "audio" }
		
		static var progress: FieldKey { "progress" }
		static var duration: FieldKey { "duration" }
		static var isFinished: FieldKey { "isFinished" }
		
		static var lastListenedAt: FieldKey { "lastListenedAt" }
		static var createdAt: FieldKey { "createdAt" }
		static var listenedDuration: FieldKey { "listenedDuration" }
		static var deleteStatus: FieldKey { "deleteStatus" }
		static var deletedAt: FieldKey { "deletedAt" }
		static var listenStatus: FieldKey { "listenStatus" }
		static var completedCount: FieldKey { "completedCount" }
	}
}
